/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.pretorius.question3.plk.model;

/**
 *
 * @author griddy
 */
public class Address {

    public Address(String street, int number, String suburb, int postalCode) {
        this.street = street;
        this.number = number;
        this.suburb = suburb;
        this.postalCode = postalCode;
    }

    public int getPostalCode() {
        return postalCode;
    }

    public void setPostalCode(int postalCode) {
        this.postalCode = postalCode;
    }
    
    public Address getAddressObject()
    {
        return this;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }

    public String getSuburb() {
        return suburb;
    }

    public void setSuburb(String suburb) {
        this.suburb = suburb;
    }
    
    private String street;
    private int number;
    private String suburb;
    private int postalCode;
    
    
    
}
